<template>
  <div>
    <button v-bind="$attrs"   @click="onClick">
      <slot></slot>
    </button>
  </div>
</template>
<script>
export default {
  name: 'LgButton',
  inheritAttrs: false,
  methods:{
    onClick(event){
      this.$emit('click',event )
      event.preventDefault()
    }
  }
}
</script>